<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}{% endblock  %}</title>
</head>
<body>
    <h1>base.html的头部</h1>

    {% block content %}
    <h1>base.html的内容</h1>
    {% endblock %}

    <h1>base.html的脚部</h1>
</body>
</html>